package text;

public class grilfirend {
	
		String name;
		private int age;
		String gender;
		public void trait()
		{
			System.out.println("very beautiful");
		}
		public void sleep()
		{
			System.out.println("sleep's cheak is very cute");
		}
		public void setage(int age)
		{
			if(age>18&&age<30)
			{
			this.age=age;
			}
			else
			{
				System.out.println("no no no!!!");
			}
		}
		public int getage()
		{
			return age;
		}
	
}
